/*
 * AddIndividualButtonMouseListener.cpp
 *
 *  Created on: 11-01-2011
 *      Author: Przemek
 */

#include "listener/AddIndividualButtonMouseListener.hpp"
#include "world/creation/IndividualCreateToolState.hpp"

AddIndividualButtonMouseListener::AddIndividualButtonMouseListener(CreationState* creationState) :
	creationState(creationState)
{

}

void AddIndividualButtonMouseListener::mouseReleased(const MouseListener::EventArguments&)
{
	creationState->setCreateTool(new IndividualCreateToolState());
}
